import { useSelector } from 'react-redux';
import { RootState } from '../store';

function useGetPageInfo() {
  const pageInfo = useSelector((state: RootState) => state.pageInfo);
  return pageInfo;
}
export default useGetPageInfo;
